cmake_minimum_required(VERSION 3.5)

SET(CMAKE_BUILD_TYPE "debug")

SET(CMAKE_CXX_STANDARD 14)

SET(PROJECT_NAME "T3_Interface_Test")
project(${PROJECT_NAME})

SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -pthread")
SET(CMAKE_CXX_FLAGS_DEBUG "$ENV{CXXFLAGS} -O0 -Wall -g -pipe")

SET(EXECUTABLE_OUTPUT_PATH ${PROJECT_SOURCE_DIR}/run)

add_definitions(-DFMT_HEADER_ONLY)

include_directories(./include)

add_executable(${PROJECT_NAME} utils.cpp main.cc)
target_link_libraries(${PROJECT_NAME} libt3sdk.so libcrypto.so libssl.so)
target_link_directories(${PROJECT_NAME} PUBLIC ./include/x64)
